﻿@using BonjourQuotation.UI.Models
@model OperationRoomSearchCompleteViewModel


  <div style="width:inherit; position: absolute; font-size: 11px; height: 80px; overflow-y: auto; overflow-x: hidden; z-index: 1000; background-color: rgba(217, 218, 219, 1); ">
          <div class="AutoCompleteDivClose"></div>
          @*<table class="table table-bordered table-hover">*@
          <table>
              @foreach (var GridItm in Model.Rows)
              {
                  if (Model.ControlName == "GroupName")
                  {
                      <tr onclick="RoomSearchCompleteRowClick('@Model.ControlName','@GridItm.GroupName','@GridItm.GroupCode','@GridItm.Customer',@GridItm.GroupId)">
                          <td>
                              @Html.LabelForModel(GridItm.GroupName)
                          </td>
                      </tr>
                  }
                  if (Model.ControlName == "GroupCode")
                  {
                      <tr onclick="RoomSearchCompleteRowClick('@Model.ControlName','@GridItm.GroupName','@GridItm.GroupCode','@GridItm.Customer',@GridItm.GroupId)">
                          <td>
                              @Html.LabelForModel(GridItm.GroupCode)
                          </td>
                      </tr>
                  }
                  if (Model.ControlName == "Customer")
                  {
                      <tr onclick="RoomSearchCompleteRowClick('@Model.ControlName','@GridItm.GroupName','@GridItm.GroupCode','@GridItm.Customer',@GridItm.GroupId)">
                          <td>
                              @Html.LabelForModel(GridItm.Customer)
                          </td>
                      </tr>
                  }
              }
          </table>
      </div>





